<template>
  <div>
    <h3>about two</h3>
    <p>公共: {{ common }}</p>
  </div>
</template>

<script>
export default {
  name: "Abouttwo",
  props: ["common"],
  created() {
    console.log("abouttwo created");

    this.$EventBus.$on("comChange", (com) => {
      console.log(com);
      this.common = com;
    });
  },
  mounted() {
    console.log("abouttwo mounted");
  }
};
</script>

<style lang="scss" scoped>
</style>